number_list = [1, 3, 5, 7, 9, 11]
height_dict = {"小明": 1.78, "小红": 1.65, "小刚": 1.80}
message = "Hello, world!"

for i in message:
    print(i)

temperature_list = [36.4, 36.6, 36.2, 37.0, 36.8, 36.9, 36.5, 36.7, 36.3, 36.1]

for t in temperature_list:
    print(t, end=" ")
    if t > 36.5:
        print("发烧了")
    else:
        print("正常")


temperature_dict = {"小明": 36.4, "小红": 36.6, "小刚": 36.2, "小李": 37.0, "小王": 36.8, "小张": 36.9, "小赵": 36.5, "小钱": 36.7, "小孙": 36.3, "小周": 36.1}
print(temperature_dict.keys) # 所有key
print(temperature_dict.values) # 所有value
print(temperature_dict.items) # 所有key-value对

for key, value in temperature_dict.items():
    print(key, value, end=" ")
    if value > 36.5:
        print("发烧了")
    else:
        print("正常")


for i in range(5, 10):
    print(i)


# 计算 1 + 2 + ... + 100
sum = 0
for i in range(1, 101):
    sum += i
print(sum)